// navlist
export interface Inav{
  id: number;
  name: string;
}

export type TnavlistFun = (id: number) => void
// 登录信息 or 注册
export interface Iloginmsg {
  username?: string
  password?: string
  avatar?: string
  nickname?: string
  email?: string
  alginpassword?: string
}

export type Tlogins = (loginmsgs: Iloginmsg, me: string) => void
// 无返回值无参数的函数
export type Tnorenocan = () => void

export type TboF = () => boolean
